package com.ruoyi.project.lesson.block.service;

import com.ruoyi.project.lesson.block.domain.LessonBlock;

import java.util.List;

/**
 * 课程板块Service接口
 *
 * @author shixiangwen
 * @date 2020-12-07
 */
public interface ILessonBlockService {

    /**
     * 查询课程板块
     *
     * @param id 课程板块ID
     * @return 课程板块
     */
    public LessonBlock selectLessonBlockById(Long id);

    /**
     * 查询课程板块列表
     *
     * @param lessonBlock 课程板块
     * @return 课程板块集合
     */
    public List<LessonBlock> selectLessonBlockList(LessonBlock lessonBlock);

    /**
     * 新增课程板块
     *
     * @param lessonBlock 课程板块
     * @return 结果
     */
    public int insertLessonBlock(LessonBlock lessonBlock);

    /**
     * 修改课程板块
     *
     * @param lessonBlock 课程板块
     * @return 结果
     */
    public int updateLessonBlock(LessonBlock lessonBlock);

    /**
     * 批量删除课程板块
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLessonBlockByIds(String ids);

    /**
     * 删除课程板块信息
     *
     * @param id 课程板块ID
     * @return 结果
     */
    public int deleteLessonBlockById(Long id);

    /**
     * @return
     */
    public int getMaxSort();
}
